<?php

namespace app\api\controller;

use app\client\api\C_article;

class Article
{
    public $c_article;

    public function __construct()
    {
        $this->c_article = new C_article();
    }

    /**
     * 文章列表数据
     */
    public function listData(){
        $result= $this->c_article->listData();
        return jsonResponse($result);
    }
}